{$header}
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
{BEGIN style_block}
<style>
#center_block{$id} {margin:0 auto;}
#contents_block{$id} {width:100%}
#header_block{$id} {width:100%;white-space:nowrap;height:31px;padding:5px 0;}

#fields_block{$id} td {padding-left:10px}
#buttons_block{$id} {width:100%;padding-bottom:5px;text-align:center}
#required_block{$id} {text-align:left;padding:5px}
#span{$id} {margin:0 20px 0 20px;}
</style>
{END style_block}
</head>
<body {$bodyattrs}>
{BEGIN body}

{BEGIN flybody}
<table id="center_block{$id}" align="center"><tr><td id="contents_block{$id}">
<div id="header_block{$id}">
<h1>Mapa de Representatividade do Conselho, Editar[

ID <font color="#E4251D">
{$show_key1}
</font> 
]</h1>
</div>
{BEGIN message_block}
<DIV id="message_block{$id}" class="downedit">
{$message}
</div>
{END message_block}

<div align=left><hr width="100%" noshade size=1></div>
{BEGIN back_button}
	<span class=buttonborder><input class=button type=button value="Voltar à Lista" {$backbutton_attrs}></span>
	{END back_button}

<table cellpadding=4 cellspacing=2 border=0 id="fields_block{$id}">
{BEGIN pk_codigo_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN pk_codigo_label}
			Pk Codigo
			{END pk_codigo_label}
			</strong> </td>
		<td align="left">
			{$pk_codigo_editcontrol}		</td>
	</tr>
{END pk_codigo_fieldblock}
{BEGIN fk_subcodigo_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN fk_subcodigo_label}
			Fk Subcodigo
			{END fk_subcodigo_label}
			</strong> </td>
		<td align="left">
			{$fk_subcodigo_editcontrol}		</td>
	</tr>
{END fk_subcodigo_fieldblock}
{BEGIN nome_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN nome_label}
			Nome da Entidade
			{END nome_label}
			</strong> </td>
		<td align="left">
			{$nome_editcontrol}		</td>
	</tr>
{END nome_fieldblock}
{BEGIN situacao_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN situacao_label}
			Status na Portaria Vigente
			{END situacao_label}
			</strong> </td>
		<td align="left">
			{$situacao_editcontrol}		</td>
	</tr>
{END situacao_fieldblock}
{BEGIN portaria_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN portaria_label}
			Portaria que incluiu entidade
			{END portaria_label}
			</strong> </td>
		<td align="left">
			{$portaria_editcontrol}		</td>
	</tr>
{END portaria_fieldblock}
{BEGIN fk_categoria_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN fk_categoria_label}
			Categoria da Entidade 
			{END fk_categoria_label}
			</strong> </td>
		<td align="left">
			{$fk_categoria_editcontrol}		</td>
	</tr>
{END fk_categoria_fieldblock}
{BEGIN fk_subcategoria_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN fk_subcategoria_label}
			Sub-Categoria
			{END fk_subcategoria_label}
			</strong> </td>
		<td align="left">
			{$fk_subcategoria_editcontrol}		</td>
	</tr>
{END fk_subcategoria_fieldblock}
{BEGIN fk_codigounidade_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN fk_codigounidade_label}
			Fk Codigounidade
			{END fk_codigounidade_label}
			</strong> </td>
		<td align="left">
			{$fk_codigounidade_editcontrol}		</td>
	</tr>
{END fk_codigounidade_fieldblock}
{BEGIN ensino_pesquisa_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN ensino_pesquisa_label}
			Ensino Pesquisa
			{END ensino_pesquisa_label}
			</strong> </td>
		<td align="left">
			{$ensino_pesquisa_editcontrol}		</td>
	</tr>
{END ensino_pesquisa_fieldblock}
{BEGIN uf_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN uf_label}
			Uf
			{END uf_label}
			</strong> </td>
		<td align="left">
			{$uf_editcontrol}		</td>
	</tr>
{END uf_fieldblock}
{BEGIN cidade_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN cidade_label}
			Cidade
			{END cidade_label}
			</strong> </td>
		<td align="left">
			{$cidade_editcontrol}		</td>
	</tr>
{END cidade_fieldblock}
{BEGIN endereco_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN endereco_label}
			Dados de Endereço/Telefone/e-mail
			{END endereco_label}
			</strong> </td>
		<td align="left">
			{$endereco_editcontrol}		</td>
	</tr>
{END endereco_fieldblock}
{BEGIN telefone_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN telefone_label}
			Telefone
			{END telefone_label}
			</strong> </td>
		<td align="left">
			{$telefone_editcontrol}		</td>
	</tr>
{END telefone_fieldblock}
{BEGIN email_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN email_label}
			Email
			{END email_label}
			</strong> </td>
		<td align="left">
			{$email_editcontrol}		</td>
	</tr>
{END email_fieldblock}
{BEGIN titular_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN titular_label}
			Titular
			{END titular_label}
			</strong> </td>
		<td align="left">
			{$titular_editcontrol}		</td>
	</tr>
{END titular_fieldblock}
{BEGIN suplente_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN suplente_label}
			Suplente
			{END suplente_label}
			</strong> </td>
		<td align="left">
			{$suplente_editcontrol}		</td>
	</tr>
{END suplente_fieldblock}
{BEGIN data_cadastro_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN data_cadastro_label}
			Data de Cadastramento/ CPF
			{END data_cadastro_label}
			</strong> </td>
		<td align="left">
			{$data_cadastro_editcontrol}		</td>
	</tr>
{END data_cadastro_fieldblock}
{BEGIN usuario_cadastro_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN usuario_cadastro_label}
			Usuario Cadastro
			{END usuario_cadastro_label}
			</strong> </td>
		<td align="left">
			{$usuario_cadastro_editcontrol}		</td>
	</tr>
{END usuario_cadastro_fieldblock}
{BEGIN data_atualizacao_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN data_atualizacao_label}
			Data da Última Atualização/ CPF
			{END data_atualizacao_label}
			</strong> </td>
		<td align="left">
			{$data_atualizacao_editcontrol}		</td>
	</tr>
{END data_atualizacao_fieldblock}
{BEGIN usuario_atualizacao_fieldblock}
	<tr>
		<td align="right">
			<strong>
			{BEGIN usuario_atualizacao_label}
			Usuario Atualizacao
			{END usuario_atualizacao_label}
			</strong> </td>
		<td align="left">
			{$usuario_atualizacao_editcontrol}		</td>
	</tr>
{END usuario_atualizacao_fieldblock}
</table>

<div id="buttons_block{$id}"><br>
<div align=left><hr width="100%" noshade size=1></div>
{BEGIN legend}
<div id="required_block{$id}" ><img alt="bullet" src="images/icon_required.gif"> - Preenchimento Obrigatório</div>
{END legend}
{$legendBreak}
{BEGIN save_button} 	
        <input class=button type=submit value="Salvar" name=submit1 {$savebutton_attrs}>	
	{END save_button}
    
	{BEGIN cancel_button}
     <input name="Reset" type=reset class=button value="Cancela" {$cancelbutton_attrs}>   
	{END cancel_button}
    
    {BEGIN back_button}
	<input class=button type=button value="Voltar à Lista" {$backbutton_attrs}>
	{END back_button}

<span id="span{$id}">&nbsp;</span>
{BEGIN prev_button}
<input class=button type=reset value=" <<< " {$prevbutton_attrs}>
{END prev_button}
{BEGIN next_button}
<input class=button type=reset value=" >>> " {$nextbutton_attrs}>
{END next_button}
</div>
</td></tr></table>
{END flybody}

{BEGIN detail_tables}
{END detail_tables}
<br><br>

{END body}
{$footer}
